package com.jiuyun.entity;

public class Userrole {
    int uid;
    String uname;
    String upass;
    int user_role_id;
    String role_desc;

    public Userrole() {
    }

    public Userrole(int uid, String uname, String upass, int user_role_id) {
        this.uid = uid;
        this.uname = uname;
        this.upass = upass;
        this.user_role_id = user_role_id;
    }

    public Userrole(int uid, String uname, String upass, int user_role_id, String role_desc) {
        this.uid = uid;
        this.uname = uname;
        this.upass = upass;
        this.user_role_id = user_role_id;
        this.role_desc = role_desc;
    }

    public int getUid() {
        return uid;
    }

    public void setUid(int uid) {
        this.uid = uid;
    }

    public String getUname() {
        return uname;
    }

    public void setUname(String uname) {
        this.uname = uname;
    }

    public String getUpass() {
        return upass;
    }

    public void setUpass(String upass) {
        this.upass = upass;
    }

    public int getUser_role_id() {
        return user_role_id;
    }

    public void setUser_role_id(int user_role_id) {
        this.user_role_id = user_role_id;
    }

    public String getRole_desc() {
        return role_desc;
    }

    public void setRole_desc(String role_desc) {
        this.role_desc = role_desc;
    }

    @Override
    public String toString() {
        return "Userrole{" +
                "uid=" + uid +
                ", uname='" + uname + '\'' +
                ", upass='" + upass + '\'' +
                ", user_role_id=" + user_role_id +
                ", role_desc='" + role_desc + '\'' +
                '}';
    }
}
